import sys

'''
media de notas com dicionario e programacao funcional
'''
notas = {'Programacao 1' : 11,
		 'Programacao 2' : 10,
		 'Matematica'    : 14,
		 'Linguagens de Programacao' : 17}

media = 0.0
c = 0

for valor in notas.itervalues():
	media += valor
	c += 1
media /= c

print "media = ", media


